﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using CTP.Entitys;

namespace CTP.ComWrap
{
    [ComVisible(false)]
    public delegate void OnErrorHandle(ErrorEventArgs e);

    [Guid("6d48b9d7-9731-4f00-990b-c04dc978b2b8")]
    public interface IErrorEventArgs
    {
        ReturnInfo ReturnInfo { get; set; }
        int RequestID { get; set; }
    }

    [Guid("c8efba06-851f-4355-a5e6-5f56589ee7d6")]
    [ClassInterface(ClassInterfaceType.None)]
    public class ErrorEventArgs : EventArgs, IErrorEventArgs
    {
        public ReturnInfo ReturnInfo { get; set; }
        public int RequestID { get; set; }
    }

}
